close

fun close()

Terminates the underlying Worker. An in-flight call fails with WebWorkerException. Idempotent.